package electricObjects;

import returnTypes.Size;
import genericObject.GenericObject;

public class ElectricObject extends GenericObject{
	
	public ElectricObject(String name, Size size) {
		super(name, size);
	}

	public ElectricObject(String name) {
		super(name);
	}

	private int consumption = 0;
	

		public void setConsumption(int consumption) {
			this.consumption = consumption;
		}

		public int getConsumption() {
			return consumption;
		}

		
}
